package com.taxshare.purchaser.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.taxshare.mybatis.entity.BaseEntity;
import com.taxshare.purchaser.constant.TableConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
/**
 * @author hjh
 */
@Data
@ApiModel(description = "白名单规则表")
@EqualsAndHashCode(callSuper = true)
@TableName(TableConstant.T_PURCHASER_INVOICE_WHITE_RULES)
public class InvoiceWhiteRulesEntity extends BaseEntity implements Serializable {
    @ApiModelProperty("白名单规则ID")
    @TableId("white_rule_id")
    private String whiteRuleId;

    @ApiModelProperty("发票审核规则uuid")
    @TableId("uuid")
    private String uuid;

    @ApiModelProperty("白名单是否开启，0->不开启 1->开启")
    @TableField("white_is_open")
    private String whiteIsOpen;

    @ApiModelProperty("审核未通过规则枚举(0 - 已通过)")
    @TableField("force_flag")
    private String forceFlag;
}
